<?php
/**
* This page is used to edit a user's join settings.
*
* @package folio
* @param int $user The integer value of the user to set the information for.
**/

    define("context", "join_join");
    // Run includes
    require_once("../../../includes.php");
    require_once("../control/joiner_update.php");
	
	global $metatags;
	
	$title = __gettext(" User Settings :: Enter Information");

	// Retrieve page name & user name.
	$user_ident = required_param('user');
    
    $body = __gettext('Please enter your information for the following:');

    $body .= joiner_edit( $user_ident );
    
    // Clear out sidebar
    $function['display:sidebar'] = array();
    
    // Cache
    header("Cache-control: private");

    $body = templates_draw(array(
                    'context' => 'contentholder',
                    'title' => $title,
                    'body' => $body
                )
                );
    
    echo templates_page_draw(array(
                    $title, $body
                )
                );
                        
?>